Skip to content

Conversation

Sfayson1
Copy link

Started on the Shopify util file. Still needs the access token and store domain.

@Sfayson1 Sfayson1 self-assigned this Dec 18, 2024
Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vets-who-code-app ❌ Failed (Inspect) Jan 7, 2025 2:52am

@Sfayson1 Sfayson1 linked an issue Dec 20, 2024 that may be closed by this pull request
3 tasks
@Sfayson1
Copy link
Author

Sfayson1 commented Dec 28, 2024

Changes:

  • Added SHOPIFY_STOREFRONT_ACCESS_TOKEN and SHOPIFY_STORE_DOMAIN to .env.local.
  • Created ProductCard component and imported it into pages/shop/index.js.
  • Implemented data fetching in getStaticProps using getAllProducts.
  • Updated shop nav link

Current Issue:
I'm encountering an error: "Failed to fetch products from Shopify."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Shopify UI and shop into Next.js page.
1 participant